﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PubSubLite.Utils
{
    internal class Argument
    {
        public void IsNotNull(object val, string paramName)
        {
            if( val == null)
            {
                throw new ArgumentNullException(paramName);
            }
        }
    }

    internal static class Require
    {
        public static Argument Argument
        {
            get { return new Argument(); }
        }
    }
}
